home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / unix / ch19 / 19fig26.wrl < prev    next >
Text File  |  1996-09-23  |  1KB  |  49 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Shape {
  6.     appearance Appearance {
  7.         material Material { }
  8.     }
  9.     geometry ElevationGrid {
  10.         xDimension 5
  11.         zDimension 5
  12.         xSpacing   1.0
  13.         zSpacing   1.0
  14.         solid      FALSE
  15.         height [
  16.             0.0, 0.0, 0.0, 0.0, 0.0, 
  17.             0.0, 0.0, 0.0, 0.0, 0.0, 
  18.             0.0, 0.0, 0.0, 0.0, 0.0, 
  19.             0.0, 0.0, 0.0, 0.0, 0.0, 
  20.             0.0, 0.0, 0.0, 0.0, 0.0, 
  21.         ]
  22.         normalPerVertex TRUE
  23.         normal Normal {
  24.             vector [
  25.             # First row
  26.                  0.0 1.0  0.0,   0.0 1.0  0.0, 
  27.                  0.0 1.0  0.0,   0.0 1.0  0.0, 
  28.                  0.0 1.0  0.0, 
  29.             # Second row
  30.                  0.0 1.0  0.0,  -0.3 0.3 -0.3, 
  31.                  0.0 0.5 -0.5,   0.3 0.3 -0.3, 
  32.                  0.0 1.0  0.0, 
  33.             # Third row
  34.                  0.0 1.0  0.0,  -0.5 0.5  0.0, 
  35.                 -0.5 0.5  0.0,   0.5 0.5  0.0, 
  36.                  0.0 1.0  0.0, 
  37.             # Fourth row
  38.                  0.0 1.0  0.0,  -0.3 0.3 -0.3, 
  39.                  0.0 0.5 -0.5,   0.3 0.3 -0.3, 
  40.                  0.0 1.0  0.0, 
  41.             # Fifth row
  42.                  0.0 1.0  0.0,   0.0 1.0  0.0, 
  43.                  0.0 1.0  0.0,   0.0 1.0  0.0, 
  44.                  0.0 1.0  0.0, 
  45.             ]
  46.         }
  47.     }
  48. }
  49.